package org.lightpersist.service.impl;

import org.lightpersist.bean.Author;
import org.lightpersist.dao.AbstractDao;
import org.lightpersist.dao.DaoTemplate;
import org.lightpersist.dao.hibernate.HibernateTemplate;
import org.lightpersist.service.AuthorService;

import com.google.inject.Inject;

public abstract class AuthorServiceImpl extends AbstractDao<Author, String>
	implements AuthorService{

	@Inject
	private HibernateTemplate hibernateTemplate;
	
	protected Class<Author> getEntityClass() {
		return Author.class;
	}

	protected DaoTemplate getDaoTemplate() {
		return hibernateTemplate;
	}
	
}
